package com.ddwl.schema.bo.goods;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 预约购
 *
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/8/14 19:04
 */
@ApiModel(description = "预约购Bo")
@Setter
@Getter
public class ReserveBo extends BaseBo {
    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("预约价格")
    private BigDecimal price;
    @ApiModelProperty("预约人数")
    private Integer personNum;
    @ApiModelProperty("定金")
    private BigDecimal reservePay;
    @ApiModelProperty("付尾款开始时间")
    private Instant restPayStartDate;
    @ApiModelProperty("付尾款结束时间")
    private Instant restPayEndDate;
    @ApiModelProperty("订金抵扣的面额")
    private BigDecimal reservePayDeduct;
    @ApiModelProperty("商品id")
    private String itemId;
    @ApiModelProperty("预约开始时间")
    private Instant reserveStart;
    @ApiModelProperty("预约截止时间")
    private Instant reserveEnd;
}
